class Stock:
    def __init__(self, symbol: str, name: str,
                 previousClosingPrice: float, currentPrice: float):
        self.__symbol = symbol
        self.__name = name
        self.__previousClosingPrice = previousClosingPrice
        self.__currentPrice = currentPrice

    def getName(self) -> str:
        return self.__name

    def getSymbol(self) -> str:
        return self.__symbol

    def getPreviousClosingPrice(self) -> float:
        return self.__previousClosingPrice

    def setPreviousClosingPrice(self, previousClosingPrice: float) -> None:
        self.__previousClosingPrice = previousClosingPrice

    def getCurrentPrice(self) -> float:
        return self.__currentPrice

    def setCurrentPrice(self, currentPrice: float) -> None:
        self.__currentPrice = currentPrice

    def getChangePercent(self):
        r = (self.__currentPrice - self.__previousClosingPrice) / self.__currentPrice
        r = int(r * 10000)
        return str(r / 100) + '%'


demo = Stock(symbol='INTC', name='Intel Corporation', previousClosingPrice=20.5, currentPrice=20.35)
r = demo.getChangePercent()
print(r)